object fmAnalyse: TfmAnalyse
  Left = 0
  Top = 0
  Caption = #32479#35745#20998#26512
  ClientHeight = 573
  ClientWidth = 716
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Visible = True
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object RzMenuButton1: TRzMenuButton
    Left = 191
    Top = 276
    Width = 46
    Height = 43
    FrameColor = 7617536
    Color = 15791348
    HotTrack = True
    TabOrder = 0
    Glyph.Data = {
      36060000424D3606000000000000360400002800000020000000100000000100
      08000000000000020000330B0000330B00000001000000000000000000003300
      00006600000099000000CC000000FF0000000033000033330000663300009933
      0000CC330000FF33000000660000336600006666000099660000CC660000FF66
      000000990000339900006699000099990000CC990000FF99000000CC000033CC
      000066CC000099CC0000CCCC0000FFCC000000FF000033FF000066FF000099FF
      0000CCFF0000FFFF000000003300330033006600330099003300CC003300FF00
      330000333300333333006633330099333300CC333300FF333300006633003366
      33006666330099663300CC663300FF6633000099330033993300669933009999
      3300CC993300FF99330000CC330033CC330066CC330099CC3300CCCC3300FFCC
      330000FF330033FF330066FF330099FF3300CCFF3300FFFF3300000066003300
      66006600660099006600CC006600FF0066000033660033336600663366009933
      6600CC336600FF33660000666600336666006666660099666600CC666600FF66
      660000996600339966006699660099996600CC996600FF99660000CC660033CC
      660066CC660099CC6600CCCC6600FFCC660000FF660033FF660066FF660099FF
      6600CCFF6600FFFF660000009900330099006600990099009900CC009900FF00
      990000339900333399006633990099339900CC339900FF339900006699003366
      99006666990099669900CC669900FF6699000099990033999900669999009999
      9900CC999900FF99990000CC990033CC990066CC990099CC9900CCCC9900FFCC
      990000FF990033FF990066FF990099FF9900CCFF9900FFFF99000000CC003300
      CC006600CC009900CC00CC00CC00FF00CC000033CC003333CC006633CC009933
      CC00CC33CC00FF33CC000066CC003366CC006666CC009966CC00CC66CC00FF66
      CC000099CC003399CC006699CC009999CC00CC99CC00FF99CC0000CCCC0033CC
      CC0066CCCC0099CCCC00CCCCCC00FFCCCC0000FFCC0033FFCC0066FFCC0099FF
      CC00CCFFCC00FFFFCC000000FF003300FF006600FF009900FF00CC00FF00FF00
      FF000033FF003333FF006633FF009933FF00CC33FF00FF33FF000066FF003366
      FF006666FF009966FF00CC66FF00FF66FF000099FF003399FF006699FF009999
      FF00CC99FF00FF99FF0000CCFF0033CCFF0066CCFF0099CCFF00CCCCFF00FFCC
      FF0000FFFF0033FFFF0066FFFF0099FFFF00CCFFFF00FFFFFF00000080000080
      000000808000800000008000800080800000C0C0C00080808000191919004C4C
      4C00B2B2B200E5E5E500C8AC2800E0CC6600F2EABF00B59B2400D8E9EC009933
      6600D075A300ECC6D900646F710099A8AC00E2EFF10000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000E8E8E8E8E8E8
      E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E80B0B0B0B0B
      0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E80BD7D7D7D7
      D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7E2E2D7
      D7E2E2D7D7E2E2D70BE8E881E8E2E2E8E8E2E2E8E8E2E2E881E8E80BD7C1C1D7
      D70909D7D7E4E4D70BE8E881E88181E8E88181E8E88181E881E8E80BD7C1C1D7
      D70909D7D7E4E4D70BE8E881E88181E8E88181E8E88181E881E8E80BD7D7D7D7
      D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7D7D7D7
      D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7E2E2D7
      D7E2E2D7D7E2E2D70BE8E881E8E2E2E8E8E2E2E8E8E2E2E881E8E80BD75151D7
      D77373D7D71212D70BE8E881E88181E8E88181E8E88181E881E8E80BD75151D7
      D77373D7D71212D70BE8E881E88181E8E88181E8E88181E881E8E80BD7D7D7D7
      D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80B0B0B0B0B
      0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E80B0B0B0B0B
      0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E8890B0B0B0B
      0B0B0B0B0B0B0B0B89E8E8AC818181818181818181818181ACE8E8E8E8E8E8E8
      E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8}
    NumGlyphs = 2
    DropDownMenu = PopupMenu1
  end
  object pnlLeft: TPanel
    Left = 0
    Top = 0
    Width = 185
    Height = 573
    Align = alLeft
    BevelOuter = bvNone
    Color = clWindow
    Padding.Left = 3
    Padding.Top = 3
    Padding.Right = 3
    Padding.Bottom = 3
    ParentBackground = False
    TabOrder = 1
    object RzGroupBox1: TRzGroupBox
      Left = 3
      Top = 3
      Width = 179
      Height = 135
      Align = alTop
      Caption = #39033#30446
      Color = 14872561
      GroupStyle = gsBanner
      TabOrder = 0
      object lstObjects: TRzListBox
        Left = 0
        Top = 21
        Width = 179
        Height = 114
        Align = alClient
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Verdana'
        Font.Style = []
        FrameVisible = True
        ItemHeight = 15
        Items.Strings = (
          #38144#21806#37329#39069
          #37319#36141#37329#39069
          #20986#36135#37329#39069
          #21512#21516#21033#28070)
        ParentFont = False
        Style = lbOwnerDrawFixed
        TabOrder = 0
        OnClick = lstObjectsClick
      end
    end
    object RzGroupBox2: TRzGroupBox
      Left = 3
      Top = 138
      Width = 179
      Height = 135
      Align = alTop
      Caption = #20998#31867
      Color = 14872561
      GroupStyle = gsBanner
      TabOrder = 1
      object lstTypes: TRzListBox
        Left = 0
        Top = 21
        Width = 179
        Height = 114
        Align = alClient
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Verdana'
        Font.Style = []
        FrameVisible = True
        ItemHeight = 15
        Items.Strings = (
          #25353#23458#25143#32479#35745
          #25353#20135#21697#32479#35745
          #25353#19994#21153#21592#32479#35745
          #25353#37096#38376#32479#35745
          #25353#20844#21496#32479#35745
          #25353#26376#20221#32479#35745)
        ParentFont = False
        Style = lbOwnerDrawFixed
        TabOrder = 0
      end
    end
    object RzGroupBox3: TRzGroupBox
      Left = 3
      Top = 273
      Width = 179
      Height = 122
      Align = alTop
      Caption = #26102#38388#27573
      Color = 14872561
      GroupStyle = gsBanner
      TabOrder = 2
      object RzLabel1: TRzLabel
        Left = 3
        Top = 32
        Width = 48
        Height = 13
        Caption = #36215#22987#26085#26399
      end
      object RzLabel2: TRzLabel
        Left = 3
        Top = 58
        Width = 48
        Height = 13
        Caption = #32467#26463#26085#26399
      end
      object edtStart: TRzDateTimeEdit
        Left = 54
        Top = 30
        Width = 121
        Height = 21
        EditType = etDate
        TabOrder = 0
      end
      object edtEnd: TRzDateTimeEdit
        Left = 54
        Top = 56
        Width = 121
        Height = 21
        EditType = etDate
        TabOrder = 1
      end
      object btnGo: TRzButton
        Left = 54
        Top = 87
        Default = True
        FrameColor = 7617536
        Caption = #26597#35810
        Color = 15791348
        HotTrack = True
        TabOrder = 2
        OnClick = btnGoClick
      end
    end
  end
  object pnlMain: TPanel
    Left = 185
    Top = 0
    Width = 531
    Height = 573
    Align = alClient
    BevelOuter = bvNone
    TabOrder = 2
    object grdChart: TcxGrid
      Left = 0
      Top = 0
      Width = 531
      Height = 573
      Align = alClient
      TabOrder = 0
      object tvChart: TcxGridDBChartView
        DataController.DataSource = dsChart
        DiagramColumn.Active = True
        DiagramColumn.Values.VaryColorsByCategory = True
        DiagramColumn.Values.CaptionPosition = cdvcpOutsideEnd
        DiagramPie.SeriesSites = True
        DiagramPie.Values.CaptionPosition = pdvcpInsideEnd
        DiagramPie.Values.CaptionItems = [pdvciPercentage]
        DiagramPie.Values.PercentageCaptionFormat = '0.00%'
        ToolBox.DataLevelsInfoVisible = dlivNever
        ToolBox.DiagramSelector = True
        object cvdgCustomer: TcxGridDBChartDataGroup
          DataBinding.FieldName = 'dp_csimpname'
          DisplayText = #23458#25143
          SortOrder = soNone
          Visible = False
          VisibleForCustomization = False
        end
        object cvdgCompany: TcxGridDBChartDataGroup
          DataBinding.FieldName = 'dp_osimpname'
          DisplayText = #20986#21475#20844#21496
          SortOrder = soNone
          Visible = False
          VisibleForCustomization = False
        end
        object cvdgDepartment: TcxGridDBChartDataGroup
          DataBinding.FieldName = 'dp_department'
          DisplayText = #37096#38376
          SortOrder = soNone
          Visible = False
          VisibleForCustomization = False
        end
        object cvdgStaff: TcxGridDBChartDataGroup
          DataBinding.FieldName = 'dp_staff'
          DisplayText = #19994#21153#21592
          SortOrder = soNone
          Visible = False
          VisibleForCustomization = False
        end
        object cvdgProduct: TcxGridDBChartDataGroup
          DataBinding.FieldName = 'dpi_productno2'
          DisplayText = #20869#37096#38646#20214#21495
          SortOrder = soNone
          Visible = False
          VisibleForCustomization = False
        end
        object cvdgClass: TcxGridDBChartDataGroup
          DataBinding.FieldName = 'class'
          VisibleForCustomization = False
        end
        object cvsSaleAmount: TcxGridDBChartSeries
          DataBinding.FieldName = 'amt'
          DisplayText = #38144#21806#37329#39069
          SortOrder = soDescending
          ValueCaptionFormat = #65509',0.00;'#65509'-,0.00'
        end
        object cvsProductSaleAmount: TcxGridDBChartSeries
          DataBinding.FieldName = 'dpi_sellamtrmb'
          DisplayText = #38144#21806#37329#39069
          Visible = False
        end
      end
      object lvChart: TcxGridLevel
        GridView = tvChart
      end
    end
    object grdItems: TcxGrid
      Left = 0
      Top = 0
      Width = 531
      Height = 202
      TabOrder = 1
      Visible = False
      object tvItems: TcxGridDBTableView
        NavigatorButtons.ConfirmDelete = False
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
      end
      object lvItems: TcxGridLevel
        GridView = tvItems
      end
    end
  end
  object tblChart: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'dp_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dp_no'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_date'
        DataType = datDateTime
      end
      item
        Name = 'dp_cpino'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_oid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dp_osimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_validate'
        DataType = datInteger
        DefaultValue = '30'
      end
      item
        Name = 'dp_cid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dp_cno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_csimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_ccontact'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_cfax'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_staffid'
        DataType = datGuid
      end
      item
        Name = 'dp_department'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_priceterm'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_termdes'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_paymentmode'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_shipfrom'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_shipto'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_country'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_shipway'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dp_rate'
        DataType = datFloat
      end
      item
        Name = 'dp_amt'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_totalqty'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_totalgw'
        DataType = datFloat
        DefaultValue = '0'
      end
      item
        Name = 'dp_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_companydocno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_checkstate'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_state'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_shipdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_shipdatedec'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_remark'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dp_stockgen'
        DataType = datBoolean
        DefaultValue = '0'
      end
      item
        Name = 'dp_insurance'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_packing'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_checkman'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_checkdate'
        DataType = datDateTime
      end>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = rdaChart
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_pi'
    IndexDefs = <>
    Left = 338
    Top = 230
  end
  object dsChart: TDADataSource
    DataSet = tblChart.Dataset
    DataTable = tblChart
    Left = 374
    Top = 230
  end
  object rdaChart: TDARemoteDataAdapter
    GetSchemaCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.MethodName = 'SQLGetData'
    GetDataCall.Params = <
      item
        Name = 'Result'
        DataType = rtBinary
        Flag = fResult
        Value = Null
      end
      item
        Name = 'aSQLText'
        DataType = rtString
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aIncludeSchema'
        DataType = rtBoolean
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aMaxRecords'
        DataType = rtInteger
        Flag = fIn
        Value = Null
      end>
    GetDataCall.Default = False
    GetDataCall.OutgoingTableNamesParameter = 'aTableNameArray'
    GetDataCall.OutgoingTableRequestInfosParameter = 'aTableRequestInfoArray'
    GetDataCall.IncomingDataParameter = 'Result'
    GetDataCall.OutgoingIncludeSchemaParameter = 'aIncludeSchema'
    GetDataCall.OutgoingMaxRecordsParameter = 'aMaxRecords'
    UpdateDataCall.RemoteService = ClientDataModule.RemoteService
    GetScriptsCall.RemoteService = ClientDataModule.RemoteService
    RemoteService = ClientDataModule.RemoteService
    DataStreamer = ClientDataModule.DataStreamer
    Left = 408
    Top = 232
  end
  object PopupMenu1: TPopupMenu
    Left = 210
    Top = 340
    object N1: TMenuItem
      Caption = #25353#20844#21496
      OnClick = N1Click
    end
    object N2: TMenuItem
      Caption = #25353#37096#38376
      OnClick = N2Click
    end
    object N3: TMenuItem
      Caption = #25353#19994#21153#21592
      OnClick = N3Click
    end
    object N4: TMenuItem
      Caption = #25353#23458#25143
      OnClick = N4Click
    end
    object N5: TMenuItem
      Caption = #25353#20135#21697
      OnClick = N5Click
    end
  end
end
